package com.oracle.zebrafreelytraveling.data.model;

/**
 * Created by yydcnjjw on 2017/7/24.
 */

/**
 * mssage 信息类
 */
public class Message {

    private String content;
    private int type;//消息类型 是接收还是发送
    private int receiveId; //接收的id 群或好友id
    private int sendId;
    private String sendType;//发送的类型 群发还是单聊 成功 还是 失败

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getSendType() {
        return sendType;
    }

    public int getSendId() {
        return sendId;
    }

    public void setSendId(int sendId) {
        this.sendId = sendId;
    }

    public int getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(int receiveId) {
        this.receiveId = receiveId;
    }

    //默认状态为未发送 或 未接收
    private boolean sendState = false;

    public boolean isSendState() {
        return sendState;
    }

    public void setSendState(boolean sendState) {
        this.sendState = sendState;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
